#ifndef _IIODEVICE_H_
#define _IIODEVICE_H_

#define CLOSE_WR_IO 0x100
#define CLOSE_RD_IO 0x200
#define CLOSE_BOTH_IO (CLOSE_WR_IO | CLOSE_RD_IO)

interface IIoDevice : public IBase
{
	std_method(CloseIo)(UINT rw) PURE;
	std_method(BindIo)() PURE;
	std_method(OpenIo)() PURE;
};

// {918FD8DF-3D1A-4C84-956A-B7E8B09439F7}
_DEFINE_IID(IID_IIoDevice,
	0x918fd8df, 0x3d1a, 0x4c84, 0x95, 0x6a, 0xb7, 0xe8, 0xb0, 0x94, 0x39, 0xf7);


#endif
